import request from "@/utils/request";

export function roleNoPerm(id) {
    return request({
        url: `/menu/no/${id}`,
        method: 'get',
    })
}

export function getMenusByRole(id) {
    return request({
        url: `/menu/has/${id}`,
        method: 'get',
    })
}

export function delMenuByRole(roleMenu) {
    return request({
        url: `/menu/role/del`,
        method: 'delete',
        data: roleMenu
    })
}
